package demo1228.pm;

public class RunImpl implements Runnable {
    @Override
    public void run() {
//        设置线程任务
        for (int i = 0; i < 1000; i++) {
            System.out.println(Thread.currentThread().getName()+"--"+i);
        }
    }
}
